import java.sql.SQLOutput;

public class Test {
    public static void main(String[] args) {
        Dog dog1 = new Dog("旺财",2);
        Dog dog2 = new Dog("旺财",2);

        System.out.println(dog1 == dog2);
        System.out.println(dog1.equals(dog2));


    }
}
